const env = import.meta.env.MODE || 'prod'
const EnvConfig = {
    development: {
        baseApi: '/api',
        mockApi: 'https://apifoxmock.com/m1/4068509-0-default/api'
    },
    prod: {
        baseApi: '127.0.0.1:8089/api',
        mockApi: 'https://apifoxmock.com/m1/4068509-0-default/api'
    }
}
//暴露之后，request引用
export default {
    env,
    ...EnvConfig[env],
    mock: false
}